'''
Created on 05/06/2011

@author: Adam
'''
from flask import render_template

from application.models import Tower
from application.decorators import login_required, template_init

@login_required
@template_init
def home():
	return render_template('data_browser/home.html')

@login_required
@template_init
def towers():
	towerTypes = Tower.Type.all().order('name')
	return render_template('data_browser/towers.html', towerTypes=towerTypes)

@login_required
@template_init
def map():
	return render_template('data_browser/map.html')